package team.fourth.combat.dao;

import org.apache.ibatis.annotations.Param;
import team.fourth.combat.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

public interface OrderSettingMapper {
    Integer findCountByDate(@Param("orderDate") Date orderDate);

    void edit(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(@Param("start") String start, @Param("end") String end);

    int editReservations(OrderSetting orderSetting);

    OrderSetting findByDate(@Param("orderDate") Date orderDate);
}
